package com.gxuwz.eschool.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.fragment.app.Fragment;

import com.gxuwz.eschool.Card_chongzhiActivity;
import com.gxuwz.eschool.R;
import com.gxuwz.eschool.SystemsetActivity;

public class MyFragment extends Fragment {
    public MyFragment(){

    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_my, container, false);

        TextView textView = view.findViewById(R.id.my_xtsz);
        textView.setOnClickListener(new View.OnClickListener(){
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(getActivity(), SystemsetActivity.class);
                startActivity(intent);
            }
        });
        return view;
    }
}
